﻿namespace 开发自己的配置提供者.自己练习;

public class MapWebConfig
{
    public string ConfigName { get; set; }
    public ConnectStr Connstr1 { get; set; }
    public SMTP Smtp { get; set; }
}

public class Connstr
{
    public string ConnectionString { get; set; }
    public string providerName { get; set; }
}

public class SMTP
{
    public string Server { get; set; }
    public string Port { get; set; }
    public string UserName { get; set; }
    public string Pwd { get; set; }
}